<?php
require_once 'common.php';
if(isset($_GET['id'])){
    $id=$_GET['id'];
    $sql="delete from userinfo where id={$id}";
    $ret=opt($sql);
    header("Location:lists.php");
}else{
    header("Location:lists.php");
}
?>